# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xlsclients
pkgver=1.1.3
pkgrel=1
pkgdesc="List client applications running on a display"
arch=('i686' 'x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
depends=('libxcb')
makedepends=('xorg-util-macros')
groups=('xorg-apps' 'xorg')
source=(https://xorg.freedesktop.org/archive/individual/app/xlsclients-${pkgver}.tar.bz2)
sha256sums=('5d9666fcc6c3de210fc70d5a841a404955af709a616fde530fe4e8f7723e3d3d')

build() {
  cd "${srcdir}/xlsclients-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/xlsclients-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
